|
|
4.2 | Getting Information about Remote Devices | ||
| 4.2.5 | Alternative connectivity tests |
|
As an aid to diagnosing basic network
connectivity, many network protocols support an echo protocol. Echo
protocols are used to test whether protocol packets are being routed.
The
ping
command sends a packet to the destination host and then waits for a
reply packet from that host. Results from this echo protocol can help
evaluate the path-to-host reliability, delays over the path, and
whether the host can be reached or is functioning. This is a basic
testing mechanism. This operation can be performed at either the user
or privileged EXEC modes. The ping target 172.16.1.5 in Figure
The traceroute command is the ideal tool for finding where data is being sent in a network. The traceroute command is similar to the ping command, except that instead of testing end-to-end connectivity, traceroute tests each step along the way. This operation can be performed at either the user or privileged EXEC levels. In this example, the path from York to
Rome is being traced. Along the way the path must go through London
and Paris. If one of these routers is unreachable, three asterisks (*)
will be returned instead of the name of the router. The
traceroute
command will continue attempting to reach the next step until the
Ctrl-Shift-6 escape sequence is used.
A basic verification test also focuses on the network layer. Use the show ip route command to determine whether a routing table entry exists for the target network. This command will be discussed in more detail in a later module of this course. The procedure to use the ping command is as follows:
The procedure to use the traceroute command is as follows:
|